/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * @author luosisi
 * Date: 2010-7-5 下午04:20:18
 */
package com.ccxe.manage.service;

import java.util.List;

import com.ccxe.manage.model.CustomerBean;

/**
 * @author luosisi
 *customer的增、删、改、查 操作
 */
public interface CustomerManager {
	
	public CustomerBean getById(String cid);
	
	public boolean isExsitID(String cid);
	
	public int addCustormer(CustomerBean customer);
	
	public int deleteCustomer(String cid);
	
	public int updateCustomer(CustomerBean c);
	
	public List<CustomerBean> getByCondition(String val);
//	
//	public List<CustomerBean> getByCondition(String begin, String end);
//	
//	public List<CustomerBean> getByCondition(String val,String begin, String end);

}
